# @Time    :2025/3/22 22:38
"""
5）模拟用户登录验证，获取键盘上的输入，如果用户名admin,密码是123，提示登录成功，否则提示登录失败
"""
print("-----欢迎进入用户登录界面------")

userName = input("请输入你的名字:")
userPassWord = input("请输入你的密码:")

if "admin" == userName and "123" == userPassWord:
    print("恭喜你，登录成功了")
else:
    print("登录失败，用户名或者密码错误！")


# userName = input("请输入你的名字:\n") #\n 换行
# userPassword = input("请输入你的密码:\n")  # <class 'str'>
# print(type(userName))
# print(type(userPassword))
# if "admin" == userName and "123" == userPassword:
#     print("登录成功！")
# else:
#     print(f"用户名{userName}或者密码{userPassword}错误，请重新输入！")
#


# userName = input("请输入你的名字:")
# userPassword =int(input("请输入你的密码:") )  # <class 'int'>
# print(type(userName))
# print(type(userPassword))
# if "admin" == userName and 123 == userPassword:
#     print("hh")
